<!DOCTYPE html>
<head>
  <meta charset="UTF-8" />
  <meta name="viewport" content="width=device-width, initial-scale=1.0" />
  <link rel="shortcut icon" href="https://pic.downk.cc/item/5ebf6257c2a9a83be59950c4.png"> <!--极客协会logo-->
  <title>哎呀..迷路了</title>
  <!--通用的部分-->
  {% load static %}
  <link href="{% static 'css/error_all.css' %}" rel="stylesheet">
  <!--利用external区块导入外部文件-->
  {% block external %}{% endblock %}
</head>
{% block main %}
<body class="error-404">
<div id="doc_main">	
	<section class="bd clearfix">
		<div class="module-error">
			<div class="error-main clearfix">
				<div class="label"></div>
				<div class="info">
					<h1 class=titel>{{code}}</h1>
					<h3 class="title">啊哦，{{message}}</h3>
					<div class="reason">
						<p>可能的原因：</p>
						<p>1.手抖打错了。</p>
						<p>2.链接过了保质期。</p>
					</div>
					<div class="oper">
						<p><a href="javascript:history.go(-1);">返回上一级页面</a></p>
						<p><a href="{% url 'departments:index' %}">回到主页</a></p>
					</div>
				</div>
			</div>
		</div>
	</section>
</div>
</body>
</html>

{% endblock %}